﻿<?php
	//Code a mettre sur toutes les pages 
	@session_start();
	if(!isset($_SESSION['user']) && !isset($_SESSION['mdp']))
	{
		header('Location: index.php');
		exit;
	}
	include('connexionpdo.php');
	include('Header.php');
?>
<html>
	<div id="main">
			<article>

				<section>
					<form name="formemedicament" method="post" action="recupmedicament.php">
						<h1> Pharmacopee </h1>
						<table>
							<tr>
								<td>
									<label class="titre">DEPOT LEGAL :</label>
								</td>
								<td>
									<input type="text" size="10" name="MED_DEPOTLEGAL" class="zone" />
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">NOM COMMERCIAL :</label>
								</td>
								<td>
									<input type="text" size="25" name="MED_NOMCOMMERCIAL" class="zone" />
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">FAMILLE :</label>
								</td>
								<td>
									<input type="text" size="3" name="FAM_CODE" class="zone" />
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">COMPOSITION :</label>
								</td>
								<td>
									<textarea rows="5" cols="50" name="MED_COMPOSITION" class="zone" ></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">EFFETS :</label>
								</td>
								<td>
									<textarea rows="5" cols="50" name="MED_EFFETS" class="zone" ></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">CONTRE INDIC. :</label>
								</td>
								<td>
									<textarea rows="5" cols="50" name="MED_CONTREINDIC" class="zone" ></textarea>
								</td>
							</tr>
							<tr>
								<td>
									<label class="titre">PRIX ECHANTILLON :</label>
								</td>
								<td>
									<input type="text" size="7" name="MED_PRIXECHANTILLON" class="zone" />
								</td>
							</tr>
							<tr>
								<td>
								<label class="titre">&nbsp;</label><input class="zone" type="button" value="<"></input><input class="zone" type="button" value=">"></input>
								</td>
							<tr>
						</table>
					</form>
				</section>
			</article>
	</div>
	<?php include('footer.php'); ?>